.class public final Lcn/cheln/explorer/ds/sdcard/TypeFilter$TextWrapper;
.super Ljava/lang/Object;


# instance fields
.field private a:Ljava/io/File;

.field private b:Ljava/util/List;

.field private c:Ljava/lang/String;


# direct methods
.method public constructor <init>(Ljava/io/File;)V
    .locals 0

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iput-object p1, p0, Lcn/cheln/explorer/ds/sdcard/TypeFilter$TextWrapper;->a:Ljava/io/File;

    return-void
.end method

.method public constructor <init>(Ljava/lang/String;)V
    .locals 0

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iput-object p1, p0, Lcn/cheln/explorer/ds/sdcard/TypeFilter$TextWrapper;->c:Ljava/lang/String;

    return-void
.end method


# virtual methods
.method public final equals(Ljava/lang/Object;)Z
    .locals 4

    const/4 v3, 0x1

    const/4 v2, 0x0

    if-ne p0, p1, :cond_0

    move v0, v3

    :goto_0
    return v0

    :cond_0
    if-nez p1, :cond_1

    move v0, v2

    goto :goto_0

    :cond_1
    check-cast p1, Lcn/cheln/explorer/ds/sdcard/TypeFilter$TextWrapper;

    iget-object v0, p0, Lcn/cheln/explorer/ds/sdcard/TypeFilter$TextWrapper;->a:Ljava/io/File;

    invoke-virtual {v0}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

    move-result-object v0

    const-string v1, "/"

    invoke-virtual {v0, v1}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;

    move-result-object v0

    iput-object v0, p0, Lcn/cheln/explorer/ds/sdcard/TypeFilter$TextWrapper;->b:Ljava/util/List;

    iget-object v0, p0, Lcn/cheln/explorer/ds/sdcard/TypeFilter$TextWrapper;->b:Ljava/util/List;

    iget-object v1, p1, Lcn/cheln/explorer/ds/sdcard/TypeFilter$TextWrapper;->c:Ljava/lang/String;

    invoke-interface {v0, v1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    move v0, v3

    goto :goto_0

    :cond_2
    move v0, v2

    goto :goto_0
.end method
